<!DOCTYPE html>
<html lang="zh">
<head>
	<meta charset="UTF-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<title>分类</title>
	<link rel="stylesheet" type="text/css" href="css/category.css"/>
	<link rel="stylesheet" type="text/css" href="css/base.css"/>
</head>
<body>
	<div class="jd_layout">
		<header class="jd_topBar">
			<div class="buttons">
				<button href="javascript:void(0);" onclick="add();">添 加</button>
				&nbsp;&nbsp;
				<button href="javascript:void(0);" onclick="del();">删 除</button>
			</div>
		</header>
		<div class="jd_main">
			<div class="jd_cateLeft buttons">
				<ul class="clearFix" id="keywords">
				</ul>
			</div>
			<div class="jd_cateRight">
				<div class="jd_cateRight_box">
					<div class="hot buttons">
						<h2 id="title"></h2>
						<div class="clearFix" id="list">
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>

	<div class="modal fade" id="addModal" tabindex="-1" role="dialog" aria-labelledby="addModalLabel">
		<div class="modal-dialog" role="document">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-label="Close">
						<span aria-hidden="true">&times;</span>
					</button>
					<h4 class="modal-title">添加</h4>
				</div>
				<div class="modal-body">
					<form id="form0" action="xianyu/add" method="POST" enctype="form-data">
						<div class="form-group">
							<input type="text" name="keyword" id="addword" class="form-control" placeholder="请输入关键字">
						</div>
					</form>
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-default" data-dismiss="modal">
						<span class="glyphicon glyphicon-remove" aria-hidden="true">关闭</span>
					</button>
					<button type="button" id="btn_submit0" class="btn btn-primary" data-dismiss="modal">
						<span class="glyphicon glyphicon-floppy-disk" aria-hidden="true">提交</span>
					</button>
				</div>
			</div>
		</div>
	</div>

	<div class="modal fade" id="delModal" tabindex="-1" role="dialog" aria-labelledby="delModalLabel">
		<div class="modal-dialog" role="document">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-label="Close">
						<span aria-hidden="true">&times;</span>
					</button>
					<h4 class="modal-title">删除</h4>
				</div>
				<div class="modal-body">
					<form id="form" action="xianyu/remove" method="POST" enctype="form-data">
						<div class="form-group">
							<div id="delwords" class="list-group"/>
						</div>
					</form>
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-default" data-dismiss="modal">
						<span class="glyphicon glyphicon-remove" aria-hidden="true">关闭</span>
					</button>
					<button type="button" id="btn_submit" class="btn btn-primary" data-dismiss="modal">
						<span class="glyphicon glyphicon-floppy-disk" aria-hidden="true">提交</span>
					</button>
				</div>
			</div>
		</div>
	</div>

	<script src="js/jquery-1.12.3.min.js"></script>
	<script src="js/jquery.bootgrid.min.js"></script>
	<script src="js/jquery-form.js"></script>
	<link rel="stylesheet" href="//cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css">
	<script src="//cdn.bootcss.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
	<script src="js/index.js"></script>
	<script src="js/iscroll.js"></script>
</body>
</html>